import request from '@/utils/request'

const api_name = '/admin/cmn'

export default {
    findByDictCode(dictCode) {
        return request({
            url: `${api_name}/dict/findByDictCode/${dictCode}`,
            method: 'get'
        })
    },
    getChildList(parentId) {
        return request({
            url: `${api_name}/getChildList/${parentId}`,
            method: 'get'
        })
    }
}